package com.octnote.domain.note;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 创建记事字段POJO定义
 * 
 * @author leohehe
 *
 */
public class NoteCreateForm {
    @NotEmpty
    private String userId;
    /**
     * 记事的主体内容
     */
    @NotEmpty
    private String noteContent;
    /**
     * 记事中的图片，音频文件
     */
//    private MultipartFile[] multipartFile;
    /**
     * 记事的提醒方式
     * Json格式的字符串{"warn1":0,"warn2":1,"warn2":0,"warn3":2}
     */
    private String warnMode;
    /**
     * 是否是重要记事(false:不是,true:是)
     */
    private Boolean isMajorNote;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNoteContent() {
        return noteContent;
    }

    public void setNoteContent(String noteContent) {
        this.noteContent = noteContent;
    }

//    public MultipartFile[] getMultipartFile() {
//        return multipartFile;
//    }
//
//    public void setMultipartFile(MultipartFile[] multipartFile) {
//        this.multipartFile = multipartFile;
//    }

    public String getWarnMode() {
        return warnMode;
    }

    public void setWarnMode(String warnMode) {
        this.warnMode = warnMode;
    }

    public Boolean getMajorNote() {
        return isMajorNote;
    }

    public void setMajorNote(Boolean majorNote) {
        isMajorNote = majorNote;
    }
}
